import numpy as np
import matplotlib.pyplot as plt
sign = list('abcde')
data = [0.2, 0.3, 0.4, 0.5, 0.1]
plt.bar(x=sign, height=data)
plt.ylim(0, 0.7)
for x,y in enumerate(data):
    plt.text(x, y+0.03, y, ha='center', fontsize = 14)
plt.show()